projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20eb364
)
; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105)
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 9 Oct 2021 11:38:06 +0000
(14:38 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 9 Oct 2021 11:38:06 +0000
(14:38 +0300)
src/dispextern.h
patch
|
blob
|
history
diff --git
a/src/dispextern.h
b/src/dispextern.h
index 6aefe43e1950a132a9247296f7a9c12d62ff456a..08dac5d4557533ba44012b6ab2a0637ccb613f89 100644
(file)
--- a/
src/dispextern.h
+++ b/
src/dispextern.h
@@
-1326,7
+1326,9
@@
struct glyph_string
/* The area within row. */
enum glyph_row_area area;
- /* Characters to be drawn, and number of characters. */
+ /* Characters to be drawn, and number of characters. Note that
+ NCHARS can be zero if this is a composition glyph string, as
+ evidenced by FIRST_GLYPH->type. */
unsigned *char2b;
int nchars;